home *** CD-ROM | disk | FTP | other *** search
- S T A R T U P
-
- copyright 1986 by
- Mitch Trachtenberg /Traxsoft
- 532 Massachusetts Avenue
- Boston, MA 02118
-
- Compuserve 73647,1447
-
- This program executes the tasks found in the file named on the command line
- (or the default task file, startup.tsk) as follows:
-
- x: -- makes x: the logged drive
-
- md string -- creates directory named "string"
- on the logged drive
-
- copy path1 path2 -- copies the file specified by path1 to a new file
- at path2
-
- run f.prg -- executes f.prg without arguments
-
- run1 f.prg arg -- executes f.prg with one argument
-
- runX f.prg arg1
- ... argX -- executes f.prg with X arguments
-
-
-
-
- For example, if a file named cl contains the following:
-
- run1 editor.ttp testfile.c
- run1 mmcc.ttp testfile.c
- run1 mmlink.ttp testfile.o
- run a.prg
-
- the command "startup cl" will start by running the editor with testfile.c
- as the editor's working file; when the editor is exited, startup will load
- and execute mmcc.ttp with testfile.c as its argument; when mmcc.ttp is
- finished, startup will load and execute mmlink.ttp with testfile.o as its
- argument, and finally startup will load and execute a.prg.
-
- As another example, if a file named ramdisk contains the following:
-
- d:
- md megamax
- md megamax\headers
- copy a:\megamax\syslib d:\megamax\syslib
- copy a:\megamax\errors d:\megamax\errors
- copy a:mmcc.ttp d:mmcc.ttp
- copy a:mmlink.ttp d:mmlink.ttp
- run b:editor.ttp
-
- the command "startup ramdisk" will (assuming a ramdisk with drive identifier
- d: has been created) log onto the ramdisk and create a megamax directory and
- a headers subdirectory within that directory; copy the file named syslib from
- the megamax directory of the disk in drive A to the ramdisk; copy the file
- named errors from the megamax directory of A to the ramdisk; copy the files
- mmcc.ttp and mmlink.ttp from drive A to the root directory of the ramdisk; and
- finally load and execute the file named editor.ttp.
-
- If no command line argument is given to startup, or if it is run by clicking
- on its icon, startup will expect to find its tasks in a file named startup.tsk.
-
- You may use and copy this program freely with the following 2 restrictions:
-
- 1) You must make the program and this documentation
- available together; and
-
- 2) You may not charge a fee for this product unless you are
- a non-profit user's group recovering distribution costs.
-
- Good luck and enjoy.
- əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə